ATSUDisposeTextLayout

Disposes of a text layout object.

OSStatus ATSUDisposeTextLayout (ATSUTextLayout iTextLayout);
iTextLayout
A reference of type ATSUTextLayout. Pass a reference to the text layout that you want to dispose of. You cannot pass NULL for this parameter.

function result
A result code. See Result Codes.
DISCUSSION
The ATSUDisposeTextLayout function only frees memory associated with the text layout object and its internal structures. This includes text layout attributes, style runs, and soft line breaks. ATSUDisposeTextLayout does not dispose of the memory pointed to by reference constants. You are responsible for doing so.

VERSION NOTES
Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)